from typing import *


class Solution:
    def minimumLength(self, s: str) -> int:
        cnt = Counter(s)
        return len(cnt.keys()) + sum(1 for v in cnt.values() if v & 1 == 0)


import random

t = ""
for i in range(100):
    t += chr(random.randint(0, 25) + ord("a"))
print(t)
